package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.result.Result;
import com.example.entity.hz.Znx;

import java.util.List;
import java.util.Map;

/**
* @author 14501
* @description 针对表【ZNX】的数据库操作Service
* @createDate 2024-07-18 08:40:09
*/
public interface ZnxService extends IService<Znx> {

    Result insert(List<Znx> znx);

    Result<Map<String,Znx>> queryList(Integer current, Integer size, String notificationCode);

    Result update(Integer id,Integer status);

    Result updateBath(List<Znx> znxList);

    void saveZnxAndSendMessage(String type, String message, String titile, String code);

    void saveZnxAndSendMessageBuZouPeiZhi(String person, String message, String titile, String code);

    void updateStatusByList(List<Integer> znxList);
}
